package com.hanson.service;

import com.hanson.common.util.BusinessUtil;
import com.hanson.mapper.WeiXinNotifyBeanMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class WeiXinNotifyService {
    @Autowired
    private WeiXinNotifyBeanMapper weiXinNotifyBeanMapper;

    public String statisMoney(int type){
        Integer totalFee = weiXinNotifyBeanMapper.selectFee(type);
        return BusinessUtil.getWebAmount(totalFee);
    }
}
